---t_herocombination.csv
---@class HeroCombinationTemplate
local HeroCombinationTemplate = ClientFight.CreateClass("HeroCombinationTemplate")
function HeroCombinationTemplate:ctor()
    --@TplAttr(name="f_CombinationId")
    self.id = 0;

    --@TplAttr(name="f_CombinationHero")
    ---@type number[]
    self.combinationHero = nil;

    --@TplAttr(name="f_CombinationSkill")
    ---@type number[][]
    self.combinationSkill = nil

    --@TplAttr(name="f_Block")
    self.f_Block = 0;
end
function HeroCombinationTemplate:loadCfg(cfg)
    self.id = cfg.f_CombinationId
    self.combinationHero = decodeJsonStrToTabel(cfg.f_CombinationHero)
    self.combinationSkill = decodeJsonStrToTabel(cfg.f_CombinationSkill)
    self.f_Block = cfg.f_Block
end